#ifndef _FIG_ENEMY_PATHCRAFT_H_
#define _FIG_ENEMY_PATHCRAFT_H_


#include "fig_enemy_3drotate.h"
#include "fig_flyingpath.h"
#include "fig_level.h"

#include "ui/ui_manager.h"

class FIGEnemyPathCraft : public FIGEnemy3DRotate
{
public:


	

	FIGEnemyPathCraft(FIGEnemyCraft::ENEMY_TYPES EnemyType);

	
	virtual void				Tick(float dt);
	virtual void				ReSpawn();
	

	FIGFlyingPath::CraftInfo*	GetCraftPathInfo() { return &m_CraftInfo; };
	void						SetFlyPathInfo(const FIGLevel::EnemyInfo* pEnemyInfo,int IndexOfGroup);
	int							GetIndexOfGroup() const { return m_IndexOfGroup; };
	FIGFlyingPath::PATH_TYPE	GetPathType();
	

protected:

	virtual	void				OnShoot();
	
	int							m_IndexOfGroup;
	
	static float				m_MaxSpeed;
	float						m_Accel;

	FIGFlyingPath::CraftInfo	m_CraftInfo;
	FIGFlyingPath::PATH_TYPE	m_PathType;

	bool						m_bIsDying;
};

#endif
